//
//  KCaseCellFactory.m
//  KutulusLaw
//
//  Created by Mahmood1 on 12/11/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "KCaseCellFactory.h"
#import "CasesCell.h"

@implementation KCaseCellFactory
- (SearchFileCell *)createSearchFileCell:(KBaseSearchFileDTO *)searchFileDTO withOrderNumber:(NSUInteger)index{
	
//	CasesCell *cell = nil;
//	
//        
//	NSArray* views = [[NSBundle mainBundle] loadNibNamed:@"CasesCell" owner:nil options:nil];
//	for (UIView *view in views) {
//		if([view isKindOfClass:[UITableViewCell class]])
//		{
//			cell = (CasesCell*)view;
//		}
//	}
//	
//	if (cell) {
//		[cell.orderNumberLabel setText:[NSString stringWithFormat:@"%d", index]];
//		[cell setSearchFileDTO:searchFileDTO];
//	}
//	
//	return cell;
	return [super createSearchFileCell:searchFileDTO withOrderNumber:index withNibName:@"CasesCell"];
}
@end
